<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        * {
            margin: 0;
            padding: 0;
        }
        table td{
            border: 1px solid ;
            padding: 4px 10px;
        }

        table {
            text-align: center;
            border: 1px solid green;
            margin: 50px auto;
        }
        .trOne{
            background-color: green;
            color: white;
        }
        .trThree,.trFive{
            background-color: #a5e5aa;
        }
    </style>
</head>
<body>
<table>
    <tr class="trOne">
        <td>
            姓名
        </td>
        <td>
            班级
        </td>
        <td>
            出生日期
        </td>
        <td>
            手机号码
        </td>
    </tr>
    <tr class="trTwo">
        <td>
            Tom
        </td>
        <td>
            C89
        </td>
        <td>
            2020-2-29
        </td>
        <td>
            15794886559
        </td>
    </tr>
    <tr class="trThree">
        <td>
            Tom
        </td>
        <td>
            C89
        </td>
        <td>
            2020-2-29
        </td>
        <td>
            15794886559
        </td>
    </tr>
    <tr class="trFore">
        <td>
            Tom
        </td>
        <td>
            C89
        </td>
        <td>
            2020-2-29
        </td>
        <td>
            15794886559
        </td>
    </tr>
    <tr class="trFive">
        <td>
            Tom
        </td>
        <td>
            C89
        </td>
        <td>
            2020-2-29
        </td>
        <td>
            15794886559
        </td>
    </tr>
</table>
</body>
</html>